package at.patooogle.classquiz.web.repository.entity;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

/**
 *
 * @author Thomas
 */
@Entity
@DiscriminatorValue("pupil")
public class Pupil extends Person {
    
    @ManyToOne
    private SchoolClazz schoolClazz;
}
